<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/Geometry.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">Geometry.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_geometry_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_box3_d_8h.html">Box3D.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;<a class="code" href="_geo3_d_m_l_8h.html">Geo3DML.h</a>&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;<a class="code" href="geo3dml_2_shape_property_8h.html">ShapeProperty.h</a>&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="foldopen" id="foldopen00011" data-start="{" data-end="};">
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html">   11</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_geometry.html">Geometry</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_object.html">Object</a> {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#ab210ffa3ca5f10b0cea4e6727584e456">   13</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_geometry.html#ab210ffa3ca5f10b0cea4e6727584e456">Geometry</a>();</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#a3d53b3cd3b262465ba7210a9592e672f">   14</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_geometry.html#a3d53b3cd3b262465ba7210a9592e672f">~Geometry</a>();</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#afd6111ed42f06c5ea187141d97fa094f">   18</a></span>        <span class="keyword">virtual</span> <a class="code hl_struct" href="structgeo3dml_1_1_box3_d.html">Box3D</a> <a class="code hl_function" href="classgeo3dml_1_1_geometry.html#afd6111ed42f06c5ea187141d97fa094f">GetMinimumBoundingRectangle</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#a44215d48ecfd06bb464d8c6076da766f">   23</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_geometry.html#a44215d48ecfd06bb464d8c6076da766f">SetProperty</a>(<a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a>* prop, <a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">ShapeProperty::SamplingTarget</a> t);</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#abbd5dd616200f703792b3c3885ff84e7">   27</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a>* <a class="code hl_function" href="classgeo3dml_1_1_geometry.html#abbd5dd616200f703792b3c3885ff84e7">GetProperty</a>(<a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">ShapeProperty::SamplingTarget</a> t) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#a11c26d127a7e4a18270cfdbb6604b6b1">   31</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a>* <a class="code hl_variable" href="classgeo3dml_1_1_geometry.html#a11c26d127a7e4a18270cfdbb6604b6b1">vertexProperty_</a>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#a1456248b72379e1af3c675a1946ba141">   33</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a>* <a class="code hl_variable" href="classgeo3dml_1_1_geometry.html#a1456248b72379e1af3c675a1946ba141">edgeProperty_</a>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#a4755bf16b71177f621970cf42438211b">   35</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a>* <a class="code hl_variable" href="classgeo3dml_1_1_geometry.html#a4755bf16b71177f621970cf42438211b">faceProperty_</a>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_geometry.html#a3e2b763540c31a4a51057074d12404fe">   37</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">ShapeProperty</a>* <a class="code hl_variable" href="classgeo3dml_1_1_geometry.html#a3e2b763540c31a4a51057074d12404fe">voxelProperty_</a>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    };</div>
</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>}</div>
<div class="ttc" id="a_box3_d_8h_html"><div class="ttname"><a href="_box3_d_8h.html">Box3D.h</a></div></div>
<div class="ttc" id="a_geo3_d_m_l_8h_html"><div class="ttname"><a href="_geo3_d_m_l_8h.html">Geo3DML.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html">geo3dml::Geometry</a></div><div class="ttdoc">A Geometry object is thread safe.</div><div class="ttdef"><b>Definition</b> Geometry.h:11</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_a11c26d127a7e4a18270cfdbb6604b6b1"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#a11c26d127a7e4a18270cfdbb6604b6b1">geo3dml::Geometry::vertexProperty_</a></div><div class="ttdeci">ShapeProperty * vertexProperty_</div><div class="ttdoc">顶点集合上的属性场。</div><div class="ttdef"><b>Definition</b> Geometry.h:31</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_a1456248b72379e1af3c675a1946ba141"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#a1456248b72379e1af3c675a1946ba141">geo3dml::Geometry::edgeProperty_</a></div><div class="ttdeci">ShapeProperty * edgeProperty_</div><div class="ttdoc">边（或棱）集合上的属性场。</div><div class="ttdef"><b>Definition</b> Geometry.h:33</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_a3d53b3cd3b262465ba7210a9592e672f"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#a3d53b3cd3b262465ba7210a9592e672f">geo3dml::Geometry::~Geometry</a></div><div class="ttdeci">virtual ~Geometry()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_a3e2b763540c31a4a51057074d12404fe"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#a3e2b763540c31a4a51057074d12404fe">geo3dml::Geometry::voxelProperty_</a></div><div class="ttdeci">ShapeProperty * voxelProperty_</div><div class="ttdoc">体元集合上的属性场。</div><div class="ttdef"><b>Definition</b> Geometry.h:37</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_a44215d48ecfd06bb464d8c6076da766f"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#a44215d48ecfd06bb464d8c6076da766f">geo3dml::Geometry::SetProperty</a></div><div class="ttdeci">virtual void SetProperty(ShapeProperty *prop, ShapeProperty::SamplingTarget t)</div><div class="ttdoc">设置几何对象关联的属性场对象。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_a4755bf16b71177f621970cf42438211b"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#a4755bf16b71177f621970cf42438211b">geo3dml::Geometry::faceProperty_</a></div><div class="ttdeci">ShapeProperty * faceProperty_</div><div class="ttdoc">面片集合上的属性场。</div><div class="ttdef"><b>Definition</b> Geometry.h:35</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_ab210ffa3ca5f10b0cea4e6727584e456"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#ab210ffa3ca5f10b0cea4e6727584e456">geo3dml::Geometry::Geometry</a></div><div class="ttdeci">Geometry()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_abbd5dd616200f703792b3c3885ff84e7"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#abbd5dd616200f703792b3c3885ff84e7">geo3dml::Geometry::GetProperty</a></div><div class="ttdeci">virtual ShapeProperty * GetProperty(ShapeProperty::SamplingTarget t) const</div><div class="ttdoc">取几何对象关联属性场。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html_afd6111ed42f06c5ea187141d97fa094f"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html#afd6111ed42f06c5ea187141d97fa094f">geo3dml::Geometry::GetMinimumBoundingRectangle</a></div><div class="ttdeci">virtual Box3D GetMinimumBoundingRectangle() const =0</div><div class="ttdoc">计算几何对象的最小外包矩形.</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_object_html"><div class="ttname"><a href="classgeo3dml_1_1_object.html">geo3dml::Object</a></div><div class="ttdef"><b>Definition</b> Geo3DML.h:7</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a></div><div class="ttdoc">几何对象关联的属性场。 @detials 属性场的定义域可以是几何对象的顶点集、边集、面片集或者体元集；其值域可以包含多个属性字段。属性字段规定了其取值类型、无效值等信息。 ShapeProperty ...</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:12</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html_ab000da11fd54f0f7ec1fdffd2a1c8366"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a></div><div class="ttdeci">SamplingTarget</div><div class="ttdoc">属性场在几何对象上的采样位置。</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:15</div></div>
<div class="ttc" id="ageo3dml_2_shape_property_8h_html"><div class="ttname"><a href="geo3dml_2_shape_property_8h.html">ShapeProperty.h</a></div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
<div class="ttc" id="astructgeo3dml_1_1_box3_d_html"><div class="ttname"><a href="structgeo3dml_1_1_box3_d.html">geo3dml::Box3D</a></div><div class="ttdef"><b>Definition</b> Box3D.h:7</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
